package com.hgkj.cloud.base.service.impl;

import com.hgkj.cloud.base.dao.SysFaqTraintimesMapper;
import com.hgkj.cloud.base.domain.SysFaqTraintimes;
import com.hgkj.cloud.base.service.SysFaqTraintimesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class SysFaqTraintimesServiceImpl implements SysFaqTraintimesService {

    @Autowired
    private SysFaqTraintimesMapper sysFaqTraintimesMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return sysFaqTraintimesMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SysFaqTraintimes record) {
        return sysFaqTraintimesMapper.insert(record);
    }

    @Override
    public int insertSelective(SysFaqTraintimes record) {
        return sysFaqTraintimesMapper.insertSelective(record);
    }

    @Override
    public SysFaqTraintimes selectByPrimaryKey(Integer id) {
        return sysFaqTraintimesMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(SysFaqTraintimes record) {
        return sysFaqTraintimesMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysFaqTraintimes record) {
        return sysFaqTraintimesMapper.updateByPrimaryKey(record);
    }

    @Override
    public SysFaqTraintimes getTrainTimeByMap(Map<String, Object> map) {
        return sysFaqTraintimesMapper.getFaqTrainTimeByMap(map);
    }
}
